package com.zbj.bjhc.www.test.entity;

import java.util.Date;
import java.math.BigDecimal;
import com.tuandai.dbservermanager.framework.autodoc.annotation.AutoDocField;
import com.tuandai.dbservermanager.framework.common.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
*  实体类
*/
@Table(name = "88_sj_report")
@Entity
public class SjReport extends BaseEntity {
    @Column(name = "VARCHAR")
    @AutoDocField(value = "主键ID")
    private String id; //主键ID
    @Column(name = "VARCHAR")
    @AutoDocField(value = "产品ID")
    private String productId; //产品ID
    @Column(name = "VARCHAR")
    @AutoDocField(value = "商机主键ID")
    private String sjId; //商机主键ID
    @Column(name = "VARCHAR")
    @AutoDocField(value = "")
    private String ip; //
    @Column(name = "VARCHAR")
    @AutoDocField(value = "")
    private String lat; //
    @Column(name = "VARCHAR")
    @AutoDocField(value = "")
    private String lng; //
    @Column(name = "TIMESTAMP")
    @AutoDocField(value = "")
    private Date createDate; //

    /*----------------------get set 方法----------------------*/
    public String getId() {return id;}
    public void setId(String id){this.id = id == null ? null : id.trim();}
    public String getProductId() {return productId;}
    public void setProductId(String productId){this.productId = productId == null ? null : productId.trim();}
    public String getSjId() {return sjId;}
    public void setSjId(String sjId){this.sjId = sjId == null ? null : sjId.trim();}
    public String getIp() {return ip;}
    public void setIp(String ip){this.ip = ip == null ? null : ip.trim();}
    public String getLat() {return lat;}
    public void setLat(String lat){this.lat = lat == null ? null : lat.trim();}
    public String getLng() {return lng;}
    public void setLng(String lng){this.lng = lng == null ? null : lng.trim();}
    public Date getCreateDate() {return createDate;}
    public void setCreateDate(Date createDate){this.createDate = createDate;}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SjReport{" +
        "id='" + getId() + '\'' + ',' + 
        "productId='" + getProductId() + '\'' + ',' + 
        "sjId='" + getSjId() + '\'' + ',' + 
        "ip='" + getIp() + '\'' + ',' + 
        "lat='" + getLat() + '\'' + ',' + 
        "lng='" + getLng() + '\'' + ',' + 
        "createDate='" + getCreateDate() + '\'' + 
        '}';
    }
}
